package com.jing.shop.domain.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "商品分类")
public class ProductTypePO {

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "分类名称")
    private String typeName;

    @ApiModelProperty(value = "级别")
    private Integer typeLevel;

    @ApiModelProperty(value = "上级分类id")
    private Integer typeParentId;

    @ApiModelProperty(value = "数量单位")
    private String typeCount;

    @ApiModelProperty(value = "排序")
    private Integer typeSort;

    @ApiModelProperty(value = "是否显示0显示1不显示")
    private Integer typeDisplay;

    @ApiModelProperty(value = "是否在导航栏显示0显示1不显示")
    private Integer typeNavigation;

    @ApiModelProperty(value = "分类图标")
    private String typeImg;

    @ApiModelProperty(value = "关键字")
    private String typeKeywords;

    @ApiModelProperty(value = "分类描述")
    private String typeDescribe;

    private List<ProductTypePO> parentPOS;

}
